Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 4, 2023

Bumps vitest from 0.30.1 to 0.31.0.

Release notes

Sourced from vitest's releases.

v0.31.0

   🚨 Breaking Changes

  • Update mock implementation to support ESM runtime, introduce "vi.hoisted"  -  by @​sheremet-va in vitest-dev/vitest#3258 (0c09a)

    • Bypass ESM import order restriction with vi.hoisted to run code before imports are executed:
    vi.hoisted(() => vi.setSystemTime(new Date(2022, 1, 1)))

    You can also use it to pass variables to vi.mock:

    const { mockedMethod } = vi.hoisted(() => {
      return { mockedMethod: vi.fn() }
    })   
    vi.mocked('./path/to/module.js', () => {
      return { originalMethod: mockedMethod }
    })
  • Move assertion declarations to expect package  -  by @​sheremet-va in vitest-dev/vitest#3294 (cf3af)

    • The change should be minor:
    - declare namespace Vi {
    + declare module '@vitest/expect' {
       interface Assertion<T = any> extends CustomMatchers<T> {}
       interface AsymmetricMatchersContaining extends CustomMatchers {}
    }

   🚀 Features

   🐞 Bug Fixes

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added scope:dependencies dependency updates type:build changes to the build system or external dependencies labels May 4, 2023
@dependabot dependabot bot requested review from a team, flexdevelopment and unicornware May 4, 2023 05:08
Copy link
Contributor

@flexdevelopment flexdevelopment left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm 👍🏾

Copy link
Contributor

@flexdevelopment flexdevelopment left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm 👍🏾

Copy link
Contributor

@flexdevelopment flexdevelopment left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm 👍🏾

@unicornware unicornware enabled auto-merge (squash) May 4, 2023 05:08
@codecov
Copy link

codecov bot commented May 4, 2023

Codecov Report

Merging #101 (3243ee1) into main (a8f5d0e) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #101   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           17        17           
  Lines          598       598           
  Branches        10        10           
=========================================
  Hits           598       598           
Flag Coverage Δ
node16 100.00% <ø> (ø)
node18 100.00% <ø> (ø)
node19 100.00% <ø> (ø)
Components Coverage Δ
config 100.00% <ø> (ø)
utils 100.00% <ø> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 046d652...3243ee1. Read the comment docs.

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/vitest-0.31.0 branch from 99cc2c5 to 66a8047 Compare May 4, 2023 05:13
flexdevelopment
flexdevelopment previously approved these changes May 4, 2023
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/vitest-0.31.0 branch from 66a8047 to 8db311b Compare May 4, 2023 05:19
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/vitest-0.31.0 branch from 8db311b to fdfa794 Compare May 5, 2023 05:14
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/vitest-0.31.0 branch from fdfa794 to 56a3f1d Compare May 5, 2023 05:18
Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) from 0.30.1 to 0.31.0.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v0.31.0/packages/vitest)

---
updated-dependencies:
- dependency-name: vitest
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/vitest-0.31.0 branch from 56a3f1d to 3243ee1 Compare May 17, 2023 05:25
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github May 18, 2023

Superseded by #118.

@dependabot dependabot bot closed this May 18, 2023
auto-merge was automatically disabled May 18, 2023 05:20

Pull request was closed

@dependabot dependabot bot deleted the dependabot/npm_and_yarn/vitest-0.31.0 branch May 18, 2023 05:20
@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent
activity after it was closed. Please open a new issue for related bugs or features. Be
sure to reference this issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

scope:dependencies dependency updates type:build changes to the build system or external dependencies

Projects

Status: 🥶 Icebox

Development

Successfully merging this pull request may close these issues.

2 participants